POST
/
parcel
/
intral
/
intral-city
curl --request POST \
  --url https://api.mervii.com/beta/parcel/intral/intral-city \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "pickup_origin": {
    "region": {
      "latitude": 6.594019599999999,
      "longitude": 3.336365099999999
    },
    "city": "Ikeja",
    "state_code": "LA",
    "country_code": "NG",
    "contacts": {
      "name": "Olakunle Olayemi",
      "phone_number": "09020500177",
      "email": "abdul@gmail.com",
      "phone_number_2": "09020500177"
    }
  },
  "destinations": [
    {
      "region": {
        "latitude": 6.6395189,
        "longitude": 3.3710171
      },
      "lat": 6.6395189,
      "lng": 3.3710171,
      "formattedAddress": "Olowora, Ojodu Berger 105102, Lagos, Nigeria",
      "city": "Ojodu Berger",
      "neighborhood": "Olowora",
      "ward": "Isheri-Olowo-Ira/Shangisha/Magodo Phase I & II",
      "local": "Kosofe",
      "state": "Lagos",
      "state_code": "LA",
      "country": "Nigeria",
      "country_code": "NG",
      "postal_code": "105102",
      "contacts": {
        "name": "Olakunle Olayemi",
        "phone_number": "09020500177",
        "email": "abdul@gmail.com",
        "phone_number_2": "09020500177"
      }
    }
  ]
}'
"{\n    \"status\": true,\n    \"message\": \"Parcel is successful\",\n    \"data\": {\n        \"tracking_number\": \"202410082201832\",\n        \"status\": \"Pending\",\n        \"total_amount\": 1427,\n        \"total_discount_amount\": 0,\n        \"total_amount_payable\": 1427,\n        \"discount_type\": \"percentage\",\n        \"discount_description\": \"See the destination parcel details\"\n    }\n}"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Authorization
string
Cache-Control
string
Postman-Token
string
Content-Type
string
Content-Length
string
Host
string
User-Agent
string
Accept
string
Accept-Encoding
string
Connection
string
accept
string

Body

application/json · object

The body is of type object.

Response

200
text/plain
OK

The response is of type string.

Was this page helpful?